package com.woniu.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 *分拣表实体类
 * @author 任楷锐
 * @data 2023/3/8 16:31
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Sorting {
    private Integer  id; //id.主键

    private Date createTime; //创建时间

    private Integer number; //商品数量

    private Integer state; //0:待分拣,1:已分拣

    private Long userId; //分拣员id

    private Integer depotId; //仓库id

    private String orderId ; //订单id

    private String multiple; //查询条件(订单编号/分拣员/仓库名称)

    private String region; //所在区域

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date startTime;//开始时间

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date endTime; //截止时间

    private String wname; // 工作人员姓名

    private String dname; // 仓库名称
}
